package com.zhiyou100.abstract_demo3;

/**
 * 炸弹鸟
 */
public class BombBird extends Bird{
    public BombBird() {
    }

    public BombBird(String name) {
        super(name);
    }

    @Override
    public void call() {
        System.out.println("喳喳");
    }

    @Override
    public void attack() {
        System.out.println("炸弹攻击");
    }
}
